package com.tx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: tcx
 * @description: 文件实体类
 * @Date: 2019/11/10
 **/
public class FileInfo {
    private Integer fId;//文件标识
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date fCreateTime;//文件上传时间
    private String fName;//文件名
    private String fSize;//文件大小
    private String fPath;//文件路径
    private String fState;//文件说明
    private String fType;//文件类型
    private Integer uId;//上传用户
    private String fTypeImage;//文件类型图片

    private User user;//关联用户

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public Date getfCreateTime() {
        return fCreateTime;
    }

    public void setfCreateTime(Date fCreateTime) {
        this.fCreateTime = fCreateTime;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public String getfSize() {
        return fSize;
    }

    public void setfSize(String fSize) {
        this.fSize = fSize;
    }

    public String getfPath() {
        return fPath;
    }

    public void setfPath(String fPath) {
        this.fPath = fPath;
    }

    public String getfState() {
        return fState;
    }

    public void setfState(String fState) {
        this.fState = fState;
    }

    public String getfType() {
        return fType;
    }

    public void setfType(String fType) {
        this.fType = fType;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getfTypeImage() {
        return fTypeImage;
    }

    public void setfTypeImage(String fTypeImage) {
        this.fTypeImage = fTypeImage;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
                "fId=" + fId +
                ", fCreateTime=" + fCreateTime +
                ", fName='" + fName + '\'' +
                ", fSize='" + fSize + '\'' +
                ", fPath='" + fPath + '\'' +
                ", fState='" + fState + '\'' +
                ", fType='" + fType + '\'' +
                ", uId=" + uId +
                ", fTypeImage='" + fTypeImage + '\'' +
                ", user=" + user +
                '}';
    }
}
